package com.baomidou.springwind.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;


/**
 * <p>
 * 
 * </p>
 *
 * @author Koumiba
 * @since 2017-03-24
 */
@TableName("tb_app_category")
public class AppCategory extends Model<AppCategory> {

    private static final long serialVersionUID = 1L;
    /** 主键ID */
	@TableId
	private Long tbid;
    /**
     * 名称
     */
	private String name;
    /**
     * 是否为系统类目，1（是）0（否）
     */
	private Integer issystem;


	public Long getTbid() {
		return tbid;
	}

	public void setTbid(Long tbid) {
		this.tbid = tbid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getIssystem() {
		return issystem;
	}

	public void setIssystem(Integer issystem) {
		this.issystem = issystem;
	}

	@Override
	protected Serializable pkVal() {
		return this.tbid;
	}

}
